<template>
	<div class="item">
		<div class="title">{{data.perf}}</div>
		<div class="main">
			<div>{{data.atime}}</div>
			<div>|</div>
			<div>{{data.asite}}</div>
		</div>
		<div class="end">
			<div>成交额：<span class="money">RMB {{data.p_tatol}}</span></div>
			<div class="count">拍品总数：{{data.p_count}}</div>
		</div>
	</div>
</template>

<script>
	export default {
		props:['data']
	}
</script>

<style lang="scss" scoped>
.item {
	color: #333333;
	padding: 15px 25px 7px 17px;
	border-bottom: 1px solid #efeef3;
	.main {
		padding: 15px 0 10px 0;
		display: flex;
		align-items: center;
		color: #999999;
		font-size: 0.9em;
		>div {
			&:nth-child(2){
				padding: 0 5px;
				display: flex;
				align-items: center;
			}
		}
	}
	.end {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 0.9em;
		// 成交额样式
		.money {
			color: #9c3c47;
			font-size: 1.1em;
		}
		// 拍品总数样式
		.count {
			color: #666666;
		}
	}
}
</style>